﻿using System;

namespace SoldiHive.Model
{
	[Serializable]
	public class Sector : MarketEntity
	{
		public Sector(string name)
			:base(name)
		{
		}

		public override bool Equals(object obj)
		{
			return base.Equals(obj);
		}

		public override int GetHashCode()
		{
			return base.GetHashCode();
		}

		public static bool operator ==(Sector left, Sector right)
		{
			if ((object)left == null)
			{
				return Sector.Equals(left, right);;
			}

			return left.Equals(right);
		}

		public static bool operator !=(Sector left, Sector right)
		{
			return !(left == right);
		}
	}
}
